//
//  NetSetting.h
//  CarCare
//
//  Created by ileo on 15/2/7.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import "NetEngine.h"

@interface NetSetting : NetEngine

extern NSString * const REQUEST_VIBRATION_ONOFF;
extern NSString * const REQUEST_TRIP_ONOFF;
extern NSString * const REQUEST_FIRE_ONOFF;
extern NSString * const REQUEST_VOLTAGE_ONOFF;
extern NSString * const REQUEST_VOLTAGE_VALUE;
extern NSString * const REQUEST_TRAJECTORY_ONOFF;
extern NSString * const REQUEST_GESTURE_ONOFF;

+(void)setVibration:(BOOL)state finish:(void(^)())finish failure:(void(^)())failure;//震动提醒开关
+(void)setTrip:(BOOL)state finish:(void(^)())finish failure:(void(^)())failure;//行程提醒开关
+(void)setFire:(BOOL)state finish:(void(^)())finish failure:(void(^)())failure;//点火提醒开关
+(void)setVoltage:(BOOL)state;//低电压提醒开关
+(void)setVoltageValue:(NSString *)value;//低电压提醒电压值 (10-15)小数点后2位
+(void)setTrajectory:(BOOL)state;//轨迹开关
+(void)setGesturePWSwitch:(BOOL)gesturePWState withCanLookGesturePW:(BOOL)canLookGesturePWState withGesturePWStr:(NSString *)gesturePWStr;//设置手势密码开关等 gesturePWState手势密码开1/关0  canLookGesturePWState显示手势轨迹开1/关0  gesturePWStr手势密码
+(NetSetting *)currentVoltageValue;//获取车辆实时电压

+(NetSetting *)getSettingInfo;//获取设置的相关信息

+(NetSetting *)getGustureInfoSetting;//获取手势密码开关状态 用来刷新手势密码 防止不同手机

+(NetSetting *)getTestGestureMsgCode:(NSString *)codeMsg;//验证手势密码短信
@end
